package top.goldenyear.porpoise.dev.code.dto.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author airhead
 */
@ApiModel(description = "管理后台 - 代码生成预览 Response VO，注意，每个文件都是一个该对象")
@Data
public class CodeGenPreviewRes {

  @ApiModelProperty(
      value = "文件路径",
      example =
          "java/com/goldsyear/porpoise/module/system/controller/test/SysTestDemoController.java")
  private String filePath;

  @ApiModelProperty(value = "代码", example = "Hello World")
  private String code;
}
